function fun() {
  let a = '678'
  console.log('123')
  console.log(a)
}

console.log(JSON.stringify(fun)) // undefined